<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript">
			//请选择一款你喜欢的游戏，尝试声明游戏里的事物，如人物、道具等等，至少5个。
			var person = new Object();
			person.id = 1;
			person.name = "夏侯惇";
			person.skill = "噬目";
			person.equip ="红莲斗篷";
			person.word = "独眼是男人的魅力";
			for(var i in person){
				document.write(i + ":" + person[i]);
				document.write("<br />");
			}
		</script>
	</body>
</html>
